package com.mk.web.threadpool;

import java.util.concurrent.Executors;

/**
 * Created by WangChen on 2018/12/15 15:29.
 */
public class Test {

    public static void main(String [] args){
        System.out.println(Runtime.getRuntime().availableProcessors());

        Executors.newWorkStealingPool();
        Executors.newWorkStealingPool(2);
        Executors.newCachedThreadPool();
    }
}
